<!DOCTYPE html>
<html ng-app>
<head lang="en">
    <meta charset="UTF-8">
    <title>sample</title>
    <script type="text/javascript" src="../../lib/jquery/1.11.0/jquery.min.js"></script>
    <script type="text/javascript" src="../../lib/angularjs/1.3.0-beta.5/angular.js"></script>
</head>
<body>

<div>
    <div ng-show="true">1</div>
    <div ng-show="false">2</div>
    <div ng-hide="true">3</div>
    <div ng-hide="false">4</div>
</div>

<div ng-init="a=2">
    <ul ng-switch="a">
        <li ng-switch-when="1">1</li>
        <li ng-switch-when="2">2</li>
        <li ng-switch-default>other</li>
    </ul>
</div>

</body>
</html>